﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s"  uri="/struts-tags"%>
<%@ taglib prefix="p" uri="/WEB-INF/page_qidi.tld"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
 	String path = request.getContextPath();
 	String basePath = request.getScheme() + "://"
 			+ request.getServerName() + ":" + request.getServerPort()
 			+ path + "/";
 	String flag = (String)request.getAttribute("flag");
 %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>通讯簿人员列表</title>
<link type="text/css" rel="stylesheet" href="http://img.xxt.m-school.cn/wisdom/style/style.css">
<script language="javascript" type="text/javascript" src="http://img.xxt.m-school.cn/wisdom/js/txl.js"></script>
<link type="text/css" rel="stylesheet" href="http://img.xxt.m-school.cn/wisdom/style/style.css">
<script language="javascript" type="text/javascript" src="http://img.xxt.m-school.cn/wisdom/js/txl.js"></script>
<script type="text/javascript" language="javascript" src="http://img.xxt.m-school.cn/wisdom/js/mode.js"></script>
<script type="text/javascript">
	function add(){
		if(parent.document.form4){
			parent.document.form4.submit();
			return true;
			}
		else{
			parent.document.getElementById('float_bg').style.display='none';
			parent.document.getElementById('float_zz').style.display='none';
			parent.document.getElementById('phoneDiv').style.display='none';
		}
	}
</script>
</head>

<body onLoad="setClass()">
<input type="hidden" id="phoneId_bak">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" valign="top">
	<div style="height:217px; overflow-y:auto; width:100%;">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="phoneListBody">
	  <tr>
		<th align="center" class="phoneListHead">联系人</th>
	  </tr>
	  <s:iterator value="#request.peopleList" status="mn">
	  <tr>
		<td align="center"><a name="Num" onClick="addContent('<s:property value="xm"/>','<s:property value="userId"/>',this)" id="<s:property value="userId"/>"><s:property value="xm"/></a></td>
	  </tr>
	  </s:iterator>
	</table>
	</div>
	</td>
  </tr>
  <tr>
    <td height="32" colspan="2" align="center" class="phoneListBottom">
    
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="buttonOut">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="buttonLeft"><input type="submit" id="sendbutton" style="display: none;"/></td>
            <td class="buttonCenter" onMouseDown="buttonDown(this)" onMouseOver="buttonOver(this)" onMouseOut="buttonOut(this)">
            <a onClick="selectAll('${requestScope.name}','${requestScope.id}')">全选</a>
            </td>
            <td class="buttonRight"></td>
          </tr>
        </table>
		</td>
		<td class="buttonOut">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="buttonLeft"></td>
            <td class="buttonCenter" onMouseDown="buttonDown(this)" onMouseOver="buttonOver(this)" onMouseOut="buttonOut(this)">
			<a onClick="deletAll('${requestScope.name}','${requestScope.id}')">全部取消</a>
			</td>
            <td class="buttonRight"></td>
          </tr>
        </table>
		</td>
		<td class="buttonOut">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="buttonLeft"></td>
            <td class="buttonCenter" onMouseDown="buttonDown(this)" onMouseOver="buttonOver(this)" onMouseOut="buttonOut(this)">
			<a onClick="add()">确定</a>
			</td>
            <td class="buttonRight"></td>
          </tr>
        </table>
		</td>
      </tr>
    </table>
    <!--
    <a onClick="selectAll('${requestScope.name}','${requestScope.id}')">全选</a>
    <a onClick="deletAll('${requestScope.name}','${requestScope.id}')">全部取消</a>
    <a onClick="add()"><s:if test="%{#request.flag=='grwjg'}">确定</s:if></a></td>  -->
  </tr>
</table>
</body>
</html>
